package com.xpf.service.status;

import com.xpf.service.status.entity.BpmProcessSuccessEvent;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 审批通过
 */
@Slf4j
@RequiredArgsConstructor
@BpmStatusStrategy(statusModel = StatusServiceFactory.StatusModel.COMPLETED)
public class CompletedStatusService implements IStatusProcessService<BpmProcessSuccessEvent>{
    @Override
    public void statusProcess(BpmProcessSuccessEvent data) {
        System.out.println("同意：" + data.toString());
    }
}
